public class Student {
    private int sNo;
    private String sName;
    private String sSex;
    private int SAge;
    private double sJava;

    public int getsNo() {
        return sNo;
    }

    public void setsNo(int sNo) {
        this.sNo = sNo;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public String getsSex() {
        return sSex;
    }

    public void setsSex(String sSex) {
        this.sSex = sSex;
    }

    public int getSAge() {
        return SAge;
    }

    public void setSAge(int SAge) {
        this.SAge = SAge;
    }

    public double getsJava() {
        return sJava;
    }

    public void setsJava(double sJava) {
        this.sJava = sJava;
    }

    public Student() {
    }

    public Student(int sNo, String sName, String sSex, int SAge, double sJava) {
        this.sNo = sNo;
        this.sName = sName;
        this.sSex = sSex;
        this.SAge = SAge;
        this.sJava = sJava;
    }

    @Override
    public String toString() {
        return "学号是:"+this.sNo+"，姓名是:"+this.sName+"，性别是:"+this.sSex+"，年龄是:"+this.SAge+"，java成绩是:"+this.sJava;
    }
}
